export const login = {
  name: 'login',
  path: '/login',
  component: () => import('@/views/Login.vue')
  // meta: { title: '登录' }
} // 后台登录

export const home = {
  name: 'home',
  path: '/home',
  component: () => import('@/views/Home.vue'),
  // meta: { title: '后台管理' },
  children: [
    {
      name: 'category',
      path: '/home/category',
      component: () => import('@/components/Category.vue')
    },
    {
      name: 'scope',
      path: '/home/scope',
      component: () => import('@/components/Scope.vue')
    },
    {
      name: 'config',
      path: '/home/config',
      component: () => import('@/components/Config.vue')
    },
    {
      name: 'plat',
      path: '/home/plat',
      component: () => import('@/components/Plat.vue')
    },
    {
      name: 'superoperate',
      path: '/home/superoperate',
      component: () => import('@/components/Superoperate.vue')
    },
    {
      name: 'platoperate',
      path: '/home/platoperate',
      component: () => import('@/components/Platoperate.vue')
    },
    {
      name: 'school',
      path: '/home/school',
      component: () => import('@/components/School.vue')
    },
    {
      name: 'finance',
      path: '/home/finance',
      component: () => import('@/components/Finance.vue')
    },
    {
      name: 'order',
      path: '/home/order',
      component: () => import('@/components/Order.vue')
    },
    {
      name: 'operateconf',
      path: '/home/operateconf',
      component: () => import('@/components/Operateconf.vue')
    },
    {
      name: 'overtime',
      path: '/home/overtime',
      component: () => import('@/components/Overtime.vue')
    },
    {
      name: 'dormitory',
      path: '/home/dormitory',
      component: () => import('@/components/Dormitory.vue')
    },
    {
      name: 'comment',
      path: '/home/comment',
      component: () => import('@/components/Comment.vue')
    },
    {
      name: 'store',
      path: '/home/store',
      component: () => import('@/components/Store.vue')
    },
    {
      name: 'user',
      path: '/home/user',
      component: () => import('@/components/User.vue')
    }
  ]
} // 后台主页面
